package demo.vo.common;

/**
 * 3 elements
 *
 * @param <X>
 * @param <Y>
 * @param <Z>
 */
public class Triplet<X, Y, Z> extends Pair<X, Y> {

    private Z z;

    public Triplet(X x, Y y, Z z) {
        super(x, y);
        this.z = z;
    }

    public Triplet() {
    }

    public Z getZ() {
        return z;
    }

    public void setZ(Z z) {
        this.z = z;
    }
}
